package cn.wfu.rlrjds.app.log.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

/**
 * Log entity. @author MyEclipse Persistence Tools
 */
public class Log implements Serializable {
	private static final long serialVersionUID = 1309582605928485828L;
	private String logId;
	private String userName; // 记录操作人员姓名
	private Date logDate; // 记录登陆时间
	private Integer type; // 0用户登陆 1 维修员登陆 2管理员登陆
	private String ip; // 记录电脑的IP地址

	@Override
	public String toString() {
		return "Log [logId=" + logId + ", userName=" + userName + ", logDate="
				+ logDate + ", type=" + type + ", ip=" + ip + "]";
	}

	// Constructors
	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getLogDate() {
		return logDate;
	}

	public void setLogDate(Date logDate) {
		this.logDate = logDate;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}